Wait for a message identified by the value of Command. Returns a String, containing the message text.
Syntax |
|---|
|
result = EasyTCPSocket.WaitForMessage( Command, Timeout ) |
Parameters |
|
|---|---|
|
Command |
|
|
Timeout |
|
Return Value |
|
|---|---|
|
Result |
|
Notes
Timeout is the amount of time in seconds that the socket will wait for a message before stopping.